import Vue from "vue";
import Vuex from "vuex";
import state from "./state";
import actions from "./actions";
import mutations from "./mutations";
import getters from "./getters";
Vue.use(Vuex);

//接口引入

const store = new Vuex.Store({
  ...state,
  ...actions,
  ...mutations,
  ...getters
});

export default store;
